#include<cstdio>
#include<cstring>
int main(){
	char a[200];
	gets(a);
	printf("%d",strlen(a)); 
}
